Add mailbox resume network handoff#253
Conversation
0608633 to
588fd4d
Compare
✱ Stainless preview builds for hypemanThis PR will update the Edit this comment to update it. It will appear in the SDK's changelogs. ✅ hypeman-openapi studio · code · diff
✅ hypeman-go studio · code · diff
✅ hypeman-typescript studio · code · diff
This comment is auto-generated by GitHub Actions and is automatically kept up to date as you push. |
588fd4d to
fd4660f
Compare
|
Closing in favor of #260, which recreates the mailbox resume network handoff from current origin/main. Keeping the old branch around for comparison. |
Summary
wait_for_networkoption for running fork results; it defaults to true and waits for a guest UDP applied ack, whilefalsereturns after resume with mailbox reconfigure continuing asynchronouslylib/forkvm/README.mdTests
go test ./lib/guest ./lib/system/guest_agent -count=1go test ./lib/oapi -count=1go test ./cmd/api/api -run 'TestForkInstance_Success|TestForkSnapshotMapsWaitForNetwork' -count=1(fails in this checkout because embedded hypervisor, guest-agent, and caddy binaries are missing)go test ./lib/instances -run 'TestGuestNetworkReconfigureConfig|TestGuestNetworkReconfigureCommand|TestPatchGuestResumeNetworkMailbox' -count=1(fails in this checkout because embedded hypervisor and guest-agent binaries are missing)